CC       = gcc
CFLAGS   = -Wall -g
INCLUDES = -I../include
LFLAGS   = -L../../bin/
LIBS     = -lhtree

SRCS   = main.c
DESTDIR= ../../bin

OBJS = $(SRCS:.c=.o)
MAIN = $(DESTDIR)/htr_test2_c_client

all:    $(MAIN)
	@echo  all done

$(MAIN): $(OBJS) 
	$(CC) $(CFLAGS) $(INCLUDES) -o $(MAIN) $(OBJS) $(LFLAGS) $(LIBS)

.c.o:
	$(CC) $(CFLAGS) $(INCLUDES) -c $<  -o $@

clean:
	$(RM) *.o *~ $(MAIN)
